package com.fifth.apartment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-07-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("housekeeper")
@ApiModel("Housekeeper对象")
public class Housekeeper implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "管家姓名")
    @TableField("housekeeper")
    private String housekeeper;

    @ApiModelProperty(value = "管家手机号")
    @TableField("hk_telephone")
    private String hkTelephone;

    @ApiModelProperty(value = "性别")
    @TableField("sex")
    private String sex;

    @ApiModelProperty(value = "身份证﻿")
    @TableField("person_id")
    private String personId;

    @ApiModelProperty(value = "入职公寓")
    @TableField("entry_apartment")
    private String entryApartment;

    @ApiModelProperty(value = "入职时间")
    @TableField("entry_time")
    private LocalDateTime entryTime;

    @ApiModelProperty(value = "合同年限")
    @TableField("contract_term")
    private String contractTerm;

    @ApiModelProperty(value = "合同附件")
    @TableField("appendice_contract")
    private String appendiceContract;

    @ApiModelProperty(value = "管家账号")
    @TableField("housekeeper_account")
    private String housekeeperAccount;


}
